package net.oschina.bilbodai.common.beanutil.bean.codedump;

import net.oschina.bilbodai.common.beanutil.bean.BeanDumpUtilCollectToMapTest;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @author daimao  Date: 16/6/14 Time: 下午11:23
 * @version $Id$
 */
public class IterNext {

    public void say() {
        BeanDumpUtilCollectToMapTest.MFoo foo = null;
        List<BeanDumpUtilCollectToMapTest.MFoo> mFoos = Arrays.asList(foo);
        for (BeanDumpUtilCollectToMapTest.MFoo mFoo : mFoos) {
            if (mFoo != null) {
                int a = mFoo.getAge();
            }
        }
    }

    public void test() {
        Collections.sort(Arrays.asList(1,2));
    }

    public static void main(String[] args) {
        new IterNext().say();
    }
}